﻿using System.Web;
using System.Web.Services;
using StreetPacMan.Server.Facade;

namespace StreetPacMan.FrontEnd
{
    /// <summary>
    /// Summary description for $codebehindclassname$
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    public class CreateGame : IHttpHandler
    {
        public void ProcessRequest(HttpContext context)
        {
            AutoWire.Execute(x => x.CreateGame(default(CreateGameParameters)), context);
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}
